/* eslint-disable camelcase */
/* eslint-disable no-undef */
import serverConfig from '../proxy.config';
(function () {
  if (window.__POWERED_BY_QIANKUN__) {
    if (process.env.NODE_ENV === 'development') {
      __webpack_public_path__ = `http://localhost:${serverConfig.port}${serverConfig.publicPath}`
      return
    }
    __webpack_public_path__ = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__
  }
})()
